import { createSSRApp } from "vue";
import App from "./App.vue";
import { createPinia } from "pinia";

const appStore = createPinia();

uni.login({
	success(result) {
		console.log(result);
	}
});
export function createApp() {
	const app = createSSRApp(App);
	app.use(appStore);
	return {
		app,
		appStore
	};
}
